|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.tac.aa.core.AdRanking
public class AdRanking
used to display advertisers in the order of their positions in an ad auction.
| Field Summary | |
|---|---|
java.lang.String |
advertiser
|
double |
position
|
| Constructor Summary | |
|---|---|
AdRanking(double position,
java.lang.String advertiser)
|
|
| Method Summary | |
|---|---|
int |
compareTo(AdRanking o)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double position
public java.lang.String advertiser
| Constructor Detail |
|---|
public AdRanking(double position,
java.lang.String advertiser)
| Method Detail |
|---|
public int compareTo(AdRanking o)
compareTo in interface java.lang.Comparable<AdRanking>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||